package edu.xhu.oss.config;

import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@RequiredArgsConstructor
@ConfigurationProperties(prefix = "alioss")
public class BiliOssConfigProperties {
    /**
     * oss相关
     */
    private String endpoints;
    private String accessKey;
    private String secretKey;
    private String videoBucket;
    private String chunkBucket;
    private String imageBucket;
    private String videoBucketUrl;
    private String chunkBucketUrl;
    private String imageBucketUrl;
    private String readPath;

}
